//package com.qpx.jxcmessage.sort;
//
//import org.springframework.amqp.core.Binding;
//import org.springframework.amqp.core.BindingBuilder;
//import org.springframework.amqp.core.Queue;
//import org.springframework.amqp.core.TopicExchange;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//@Configuration
//public class RabbitMQSortConfig {
//
//
//    @Bean
//    public TopicExchange sortTestExchange(){
//        return new TopicExchange("sortTestExchange");
//    }
//
//    @Bean
//    public Queue sortTestQueue(){
//        return new Queue("sortTestQueue");
//    }
//
//    @Bean
//    public Binding bindingSort(){
//        return BindingBuilder.bind(sortTestQueue()).to(sortTestExchange()).with("sort.#");
//    }
//
//
//}
